package com.bwie.controller;

import com.bwie.service.FeignService;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title:
 * @BelongProjecet month0617
 * @BelongPackage com.bwie.controller
 * @Description:
 * @Copyright 研发一部
 * @Author: Mr.yan
 * @Date: 2024/6/17 12:52
 * @Version V1.0
 */
@RestController
@RequestMapping(value = "/feign/feign")
public class FeignController {

    @Autowired
    private FeignService feignService;

    @PostMapping("/enquiryList")
    public R enquiryList(){
        return feignService.enquiryList();
    }

    @PostMapping("/deliverList")
    public R deliverList(){
        return feignService.deliverList();
    }


}
